package com.example.flashsales.mappers;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface GoodsInventoryMapper {

    //增加一种商品
    int addGoods(@Param("goodsId") long goodsId, @Param("count") double count);

    //删除一种商品
    int deleteGoods(@Param("goodsId") long goodsId);
}
